|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Evaluator
Evaluator is an object that translates discrete values into an evaluation value. The UtilitySpace attaches it to an issue.
| Method Summary | |
|---|---|
Evaluator |
clone()
|
java.lang.Double |
getEvaluation(UtilitySpace uspace,
Bid bid,
int index)
This method returns the utility of the value of an issue. |
EVALUATORTYPE |
getType()
|
double |
getWeight()
|
java.lang.String |
isComplete(Objective whichObjective)
Check whether the evaluator has enough information to make an evaluation. |
void |
loadFromXML(negotiator.xml.SimpleElement pRoot)
Method to |
void |
lockWeight()
Wouter: lockWeight does not actually lock setWeight or so. |
void |
setWeight(double wt)
Sets the weigth with which an Objective or Issue is evaluated. |
void |
unlockWeight()
Method to unlock a weight. |
boolean |
weightLocked()
|
| Method Detail |
|---|
double getWeight()
void setWeight(double wt)
wt - The new weight.void lockWeight()
void unlockWeight()
boolean weightLocked()
java.lang.Double getEvaluation(UtilitySpace uspace,
Bid bid,
int index)
throws java.lang.Exception
uspace - preference profilebid - in which the value is contained.index - of the issue in the bid.
java.lang.Exception - if problem, for instance illegal evaluation values.EVALUATORTYPE getType()
void loadFromXML(negotiator.xml.SimpleElement pRoot)
pRoot - java.lang.String isComplete(Objective whichObjective)
whichObjective - is the objective/issue to which this evaluator is attached.
Evaluator clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||